package com.matt.service;

import com.matt.domain.Notice.Notice;
import org.springframework.data.domain.Page;


public interface NoticeService {
    Notice addNotice(String title, String content, Integer noticeType, String staffId, String areaId);

    Page<Notice> getNoticeListByAreaId(String areaId, Integer noticeType, Integer pageNum, Integer pageSize);

    Notice deleteNotice(String ticket, String noticeId);

    Notice addNoticeByClasses(String title, String content, Integer noticeType, String staffId, String areaId,String [] classesIdArray);


    Notice noticeDetail(String noticeId);

    Page<Notice> getNoticeListByStaffId(String staffId,String areaId,Integer noticeType, Integer pageNum, Integer pageSize);
}
